Class: Callapi::Call::Parser::Json::AsObject
Class Method Summary
collapse
Instance Method Summary
collapse
#data, #initialize, #status
Class Method Details
.keys_excluded_from_parsing ⇒ Object
10
11
12
|
# File 'lib/callapi/call/response/json/as_object.rb', line 10
def self.keys_excluded_from_parsing
@keys_excluded_from_parsing ||= []
end
|
.keys_excluded_from_parsing=(keys_excluded_from_parsing) ⇒ Object
14
15
16
|
# File 'lib/callapi/call/response/json/as_object.rb', line 14
def self.keys_excluded_from_parsing=(keys_excluded_from_parsing)
@keys_excluded_from_parsing = keys_excluded_from_parsing
end
|
Instance Method Details
#parse ⇒ Object
4
5
6
7
8
|
# File 'lib/callapi/call/response/json/as_object.rb', line 4
def parse
object.tap do |struct|
append_data_excluded_from_parsing(struct)
end
end
|