Class: CFC::Record

Inherits:
APIObject show all
Defined in:
lib/cfc/objects/record.rb

Instance Method Summary collapse

Methods inherited from APIObject

#inspect, #method_missing, relationships, #respond_to_missing?

Constructor Details

#initialize(data) ⇒ Record

Returns a new instance of Record.



3
4
5
# File 'lib/cfc/objects/record.rb', line 3

def initialize(data)
  super(data)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class CFC::APIObject

Instance Method Details

#deproxyObject



11
12
13
# File 'lib/cfc/objects/record.rb', line 11

def deproxy
  set_proxied(false)
end

#proxyObject



7
8
9
# File 'lib/cfc/objects/record.rb', line 7

def proxy
  set_proxied(true)
end