Class: PlaylyfeClient::V2::EventCollection
- Inherits:
-
Collection
- Object
- Collection
- PlaylyfeClient::V2::EventCollection
- Defined in:
- lib/playlyfe_client/v2/collection/event_collection.rb
Instance Attribute Summary
Attributes inherited from Collection
Instance Method Summary collapse
Methods inherited from Collection
#add, #all, #each, #find_all, #first, #last, #size, #to_a
Instance Method Details
#find(str) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/playlyfe_client/v2/collection/event_collection.rb', line 10 def find(str) e=PlaylyfeClient::CollectionFindOneIsNotSupportedError.new e.name="Find item is not supported" e.="This collections has no unique key, so no use for collection.find." raise e end |