Class: CFoundry::V2::Route

Inherits:
Model
  • Object
show all
Defined in:
lib/cfoundry/v2/route.rb

Instance Attribute Summary

Attributes inherited from Model

#cache, #changes, #guid

Attributes included from ModelMagic

#scoped_organization, #scoped_space

Instance Method Summary collapse

Methods inherited from Model

#changed?, #create, #create!, #delete, #delete!, #eql?, #exists?, #hash, inherited, #initialize, #inspect, #invalidate!, #manifest, #object_name, objects, #partial?, #persisted?, #plural_object_name, #query_target, #to_key, #to_param, #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

#nameObject



15
16
17
# File 'lib/cfoundry/v2/route.rb', line 15

def name
  "#{host}.#{domain.name}"
end