Class: Jirafe::Resource::Status
- Inherits:
-
JirafeResource
- Object
- JirafeResource
- Jirafe::Resource::Status
- Defined in:
- lib/jirafe/resource/status.rb
Class Method Summary collapse
Methods inherited from JirafeResource
create, #identifier, list, parent, #parent, #parent=, parent_path, #parent_resource_url, path, resource_url, #resource_url, retrieve, update
Methods included from Model
#attributes, #attributes_for_change, #create, included, #initialize, #reinitialize, #update
Methods included from Jirafe::ResponseParser
Class Method Details
.ok? ⇒ Boolean
8 9 10 11 12 13 |
# File 'lib/jirafe/resource/status.rb', line 8 def ok? retrieve.status == "ok" rescue => exception logger.error(exception.to_s) false end |