Class: RestModel::Href

Inherits:
Key
  • Object
show all
Includes:
Response
Defined in:
lib/rest_model/key/href.rb,
lib/rest_model/key/href/response.rb

Defined Under Namespace

Modules: Response

Instance Attribute Summary

Attributes inherited from Key

#model, #name, #options, #summarize

Instance Method Summary collapse

Methods included from Response

#to_resource

Methods inherited from Key

#convert_input_keys, #present?, #root_path?, #source_path, #visible?

Constructor Details

#initializeHref

Returns a new instance of Href.



6
7
8
# File 'lib/rest_model/key/href.rb', line 6

def initialize
  super(:href)
end