Class: InterFAX::Object

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/interfax/object.rb

Instance Method Summary collapse

Instance Method Details

#attributesObject



2
3
4
5
6
# File 'lib/interfax/object.rb', line 2

def attributes
  hash = to_h
  hash.delete(:client)
  hash
end

#inspectObject



8
9
10
11
12
13
14
# File 'lib/interfax/object.rb', line 8

def inspect
  _client = client
  self.delete_field('client')
  result = super
  self.client = _client
  result
end