Class: RestEasy::Resource::ShadowCopy

Inherits:
Object
  • Object
show all
Defined in:
lib/rest_easy/resource.rb

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ ShadowCopy

Returns a new instance of ShadowCopy.



95
96
97
# File 'lib/rest_easy/resource.rb', line 95

def initialize(data)
  @data = data
end

Instance Method Details

#attributesObject



99
100
101
# File 'lib/rest_easy/resource.rb', line 99

def attributes
  @data
end