Class: Scalarium::Resource

Inherits:
OpenStruct
  • Object
show all
Includes:
Api
Defined in:
lib/scalarium/resource.rb

Direct Known Subclasses

App, Cloud, Cloud::Instance, Cloud::Rol

Instance Method Summary (collapse)

Methods included from Api

#get, #post

Constructor Details

- (Resource) initialize(token, attributes = {})



4
5
6
7
# File 'lib/scalarium/resource.rb', line 4

def initialize(token, attributes = {})
  @token = token
  super(attributes)
end