Class: Oksky::Chat::Object::Base
- Inherits:
-
Object
- Object
- Oksky::Chat::Object::Base
- Defined in:
- lib/oksky/chat/object/base.rb
Direct Known Subclasses
ClientsResource, MasterKeywordsResource, MemosResource, MessagesResource, RoomsResource, SuggestionsResource, SupportDraftMessageResource, SupportsResource, TrackerEntriesResource, UnsupportResource, UserEventsResource, UserInfosResource, UsersResource
Instance Method Summary collapse
- #[](key) ⇒ Object
-
#initialize(src) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(src) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/oksky/chat/object/base.rb', line 6 def initialize(src) @src = src end |
Instance Method Details
#[](key) ⇒ Object
10 11 12 |
# File 'lib/oksky/chat/object/base.rb', line 10 def [](key) @src[key] end |