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!, #delete!, #eql?, #exists?, #hash, #initialize, #inspect, #invalidate!, #manifest, #object_name, #partial?, #query_target, #update!

Methods included from ModelMagic

#attribute, #attributes, #defaults, #has_summary, #inherited, #object_name, params_from, #queryable_by, #scoped_to_organization, #scoped_to_space, #to_many, #to_many_relations, #to_one, #to_one_relations, validate_type, value_matches?

Constructor Details

This class inherits a constructor from CFoundry::V2::Model

Instance Method Details

#nameObject



11
12
13
# File 'lib/cfoundry/v2/route.rb', line 11

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