Class: ShelbyArena::FamilyReader
- Defined in:
- lib/readers/family_reader.rb
Instance Attribute Summary
Attributes inherited from ApiReader
Instance Method Summary collapse
-
#initialize(family_id = nil) ⇒ FamilyReader
constructor
Constructor.
Methods inherited from ApiReader
Constructor Details
#initialize(family_id = nil) ⇒ FamilyReader
Constructor.
8 9 10 11 12 13 14 15 |
# File 'lib/readers/family_reader.rb', line 8 def initialize(family_id = nil) if family_id.nil? raise 'The create endpoint is not known yet.' @url_new_data_path = nil # Not sure yet else @url_data_path = "family/#{family_id}" end end |