Class: RunaboveMe
Instance Attribute Summary
Attributes inherited from Runabove
#flavor, #image, #instance, #me, #price, #project, #region, #ssh, #stackMysql, #storage, #time, #token
Instance Method Summary
collapse
Methods inherited from Runabove
#createConsumerKey, #initialize, #loadObjects, #raw_call, #timeServer
Constructor Details
This class inherits a constructor from Runabove
Instance Method Details
#api_application(id) ⇒ Object
117
118
119
|
# File 'lib/runabove.rb', line 117
def api_application(id)
raw_call("get", "/me/api/application/#{id}")
end
|
#api_applications ⇒ Object
113
114
115
|
# File 'lib/runabove.rb', line 113
def api_applications
raw_call("get", "/me/api/application")
end
|
#api_credential(id) ⇒ Object
129
130
131
|
# File 'lib/runabove.rb', line 129
def api_credential(id)
raw_call("get", "/me/api/credential/#{id}")
end
|
#api_credential_application(id) ⇒ Object
137
138
139
|
# File 'lib/runabove.rb', line 137
def api_credential_application(id)
raw_call("get", "/me/api/credential/#{id}/application")
end
|
#api_credentials ⇒ Object
125
126
127
|
# File 'lib/runabove.rb', line 125
def api_credentials
raw_call("get", "/me/api/credential")
end
|
#api_delete_application(id) ⇒ Object
121
122
123
|
# File 'lib/runabove.rb', line 121
def api_delete_application(id)
raw_call("delete", "/me/api/application/#{id}")
end
|
#api_delete_credential(id) ⇒ Object
133
134
135
|
# File 'lib/runabove.rb', line 133
def api_delete_credential(id)
raw_call("delete", "/me/api/credential/#{id}")
end
|
#ask_validation(data = { "validationType" => "sms" }) ⇒ Object
141
142
143
|
# File 'lib/runabove.rb', line 141
def ask_validation(data = { "validationType" => "sms" })
raw_call("post", "/me/askValidation", data)
end
|
#balance ⇒ Object
145
146
147
|
# File 'lib/runabove.rb', line 145
def balance
raw_call("get", "/me/balance")
end
|
#bill(id) ⇒ Object
153
154
155
|
# File 'lib/runabove.rb', line 153
def bill(id)
raw_call("get", "/me/bill/#{id}")
end
|
#bill_details(id) ⇒ Object
157
158
159
|
# File 'lib/runabove.rb', line 157
def bill_details(id)
raw_call("get", "/me/bill/#{id}/details")
end
|
#bills ⇒ Object
149
150
151
|
# File 'lib/runabove.rb', line 149
def bills
raw_call("get", "/me/bill")
end
|
#info ⇒ Hash
Get this object properties
109
110
111
|
# File 'lib/runabove.rb', line 109
def info
raw_call("get", "/me")
end
|
#lab(name) ⇒ Object
165
166
167
|
# File 'lib/runabove.rb', line 165
def lab(name)
raw_call("get", "/me/labs/#{name}")
end
|
#labs ⇒ Object
161
162
163
|
# File 'lib/runabove.rb', line 161
def labs
raw_call("get", "/me/labs")
end
|
#usage ⇒ Object
169
170
171
|
# File 'lib/runabove.rb', line 169
def usage
raw_call("get", "/me/usage")
end
|
#validate(data) ⇒ Object
173
174
175
|
# File 'lib/runabove.rb', line 173
def validate(data)
raw_call("post", "/me/validate", data)
end
|