Class: Rightscaler::Resource

Inherits:
ActiveResource::Base
  • Object
show all
Defined in:
lib/rightscaler/resource.rb

Constant Summary collapse

API_VERSION =
"1.0"

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.account_id=(account_id) ⇒ Object



13
14
15
# File 'lib/rightscaler/resource.rb', line 13

def self.()
  self.site = self.site.to_s + .to_s
end

Instance Method Details

#idObject



9
10
11
# File 'lib/rightscaler/resource.rb', line 9

def id
  href && href.split('/').last
end