Class: InterFAX::Object
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- InterFAX::Object
- Defined in:
- lib/interfax/object.rb
Direct Known Subclasses
Document, ForwardingEmail, Image, Inbound::Fax, InterFAX::Outbound::Fax
Instance Method Summary collapse
Instance Method Details
#attributes ⇒ Object
2 3 4 5 6 |
# File 'lib/interfax/object.rb', line 2 def attributes hash = to_h hash.delete(:client) hash end |
#inspect ⇒ Object
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 |