Class: CFoundry::V2::Route
Instance Attribute Summary
Attributes inherited from Model
Attributes included from ModelMagic
#scoped_organization, #scoped_space
Instance Method Summary collapse
Methods inherited from Model
#changed?, #create!, #delete!, #eql?, #exists?, #hash, inherited, #initialize, #inspect, #invalidate!, #manifest, #object_name, objects, #partial?, #plural_object_name, #query_target, #update!
Methods included from ModelMagic
#attribute, #attributes, #defaults, #define_base_client_methods, #define_client_methods, #has_summary, #inherited, #object_name, params_from, #plural_object_name, #queryable_by, #scoped_to_organization, #scoped_to_space, #to_many, #to_many_relations, #to_one, #to_one_relations
Constructor Details
This class inherits a constructor from CFoundry::V2::Model
Instance Method Details
#name ⇒ Object
11 12 13 |
# File 'lib/cfoundry/v2/route.rb', line 11 def name "#{host}.#{domain.name}" end |