Class: CFoundry::V1::ServiceInstance
- Defined in:
- lib/cfoundry/v1/service_instance.rb
Instance Attribute Summary
Attributes inherited from Model
Attributes included from ModelMagic
Instance Method Summary collapse
-
#created ⇒ Object
Timestamp of when the service was created.
- #created_unix ⇒ Object
-
#updated ⇒ Object
Timestamp of when the service was last updated.
- #updated_unix ⇒ Object
Methods inherited from Model
#base_object_name, #changed?, #create!, #delete!, #eql?, #exists?, #find_path, #guid_name, #hash, inherited, #initialize, #inspect, #invalidate!, #manifest, #object_name, objects, plural_base_object_name, plural_object_name, #put, #read_manifest, #update!, #write_manifest
Methods included from ModelMagic
#attribute, #define_client_methods, #on_base_client, #on_client, #read_locations, #read_only_attributes, #write_locations
Constructor Details
This class inherits a constructor from CFoundry::V1::Model
Instance Method Details
#created ⇒ Object
Timestamp of when the service was created.
24 25 26 |
# File 'lib/cfoundry/v1/service_instance.rb', line 24 def created Time.at(created_unix) end |
#created_unix ⇒ Object
20 |
# File 'lib/cfoundry/v1/service_instance.rb', line 20 alias_method :created_unix, :created |
#updated ⇒ Object
Timestamp of when the service was last updated.
29 30 31 |
# File 'lib/cfoundry/v1/service_instance.rb', line 29 def updated Time.at(updated_unix) end |
#updated_unix ⇒ Object
21 |
# File 'lib/cfoundry/v1/service_instance.rb', line 21 alias_method :updated_unix, :updated |