class Poll::Option

Included Modules

Defined in:

models/poll.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(name : String, votes_count : Int32 = 0) #

[View source]

Instance Method Detail

def name : String #

[View source]
def name=(name : String) #

[View source]
def votes_count : Int32 #

[View source]
def votes_count=(votes_count : Int32) #

[View source]