Class: DIDWW::ComplexObject::CdrExportFilter

Inherits:
Base
  • Object
show all
Defined in:
lib/didww/complex_objects/cdr_export_filter.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#[], #[]=, #as_json_api, #attributes, cast, #initialize, property, schema, type, #type

Constructor Details

This class inherits a constructor from DIDWW::ComplexObject::Base

Class Method Details

.cast_single_object(hash) ⇒ Object

Type casting for JsonApiClient parser/setters



8
9
10
# File 'lib/didww/complex_objects/cdr_export_filter.rb', line 8

def self.cast_single_object(hash)
  new(hash)
end

Instance Method Details

#as_jsonObject



16
17
18
# File 'lib/didww/complex_objects/cdr_export_filter.rb', line 16

def as_json(*)
  super[:attributes]
end