Class: Scalarium::Resource
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Scalarium::Resource
- Includes:
- Api
- Defined in:
- lib/scalarium/resource.rb
Direct Known Subclasses
Instance Method Summary (collapse)
-
- (Resource) initialize(token, attributes = {})
constructor
A new instance of Resource.
Methods included from Api
Constructor Details
- (Resource) initialize(token, attributes = {})
A new instance of Resource
4 5 6 7 |
# File 'lib/scalarium/resource.rb', line 4 def initialize(token, attributes = {}) @token = token super(attributes) end |