Class: ButterSand::Event
- Inherits:
-
Object
- Object
- ButterSand::Event
- Defined in:
- lib/butter_sand/event.rb
Instance Attribute Summary collapse
-
#ends ⇒ Object
readonly
Returns the value of attribute ends.
-
#phone ⇒ Object
readonly
Returns the value of attribute phone.
-
#prefecture ⇒ Object
readonly
Returns the value of attribute prefecture.
-
#shop ⇒ Object
readonly
Returns the value of attribute shop.
-
#starts ⇒ Object
readonly
Returns the value of attribute starts.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(options = {}) ⇒ Event
Returns a new instance of Event.
7 8 9 10 11 12 13 |
# File 'lib/butter_sand/event.rb', line 7 def initialize(={}) @shop = [:shop] @prefecture = [:prefecture] @phone = [:phone] @starts = [:starts] @ends = [:ends] end |
Instance Attribute Details
#ends ⇒ Object (readonly)
Returns the value of attribute ends.
5 6 7 |
# File 'lib/butter_sand/event.rb', line 5 def ends @ends end |
#phone ⇒ Object (readonly)
Returns the value of attribute phone.
5 6 7 |
# File 'lib/butter_sand/event.rb', line 5 def phone @phone end |
#prefecture ⇒ Object (readonly)
Returns the value of attribute prefecture.
5 6 7 |
# File 'lib/butter_sand/event.rb', line 5 def prefecture @prefecture end |
#shop ⇒ Object (readonly)
Returns the value of attribute shop.
5 6 7 |
# File 'lib/butter_sand/event.rb', line 5 def shop @shop end |
#starts ⇒ Object (readonly)
Returns the value of attribute starts.
5 6 7 |
# File 'lib/butter_sand/event.rb', line 5 def starts @starts end |