Class: ButterSand::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/butter_sand/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options={})
  @shop       = options[:shop]
  @prefecture = options[:prefecture]
  @phone      = options[:phone]
  @starts     = options[:starts]
  @ends       = options[:ends]
end

Instance Attribute Details

#endsObject (readonly)

Returns the value of attribute ends.



5
6
7
# File 'lib/butter_sand/event.rb', line 5

def ends
  @ends
end

#phoneObject (readonly)

Returns the value of attribute phone.



5
6
7
# File 'lib/butter_sand/event.rb', line 5

def phone
  @phone
end

#prefectureObject (readonly)

Returns the value of attribute prefecture.



5
6
7
# File 'lib/butter_sand/event.rb', line 5

def prefecture
  @prefecture
end

#shopObject (readonly)

Returns the value of attribute shop.



5
6
7
# File 'lib/butter_sand/event.rb', line 5

def shop
  @shop
end

#startsObject (readonly)

Returns the value of attribute starts.



5
6
7
# File 'lib/butter_sand/event.rb', line 5

def starts
  @starts
end