Class: RemoteResource::Json::Model

Inherits:
Model
  • Object
show all
Defined in:
lib/remote_resource/json/model.rb

Instance Attribute Summary

Attributes inherited from Model

#url

Class Method Summary collapse

Methods inherited from Model

#connection

Methods included from Concerns::Attributes

#attributes, #to_localone_hash

Class Method Details

.connectionObject



3
4
5
# File 'lib/remote_resource/json/model.rb', line 3

def connection
  @connection ||= RemoteResource::Json::Connection.new
end