Module: ApplicationInsights::Channel::Contracts::JsonSerializable::ClassMethods

Defined in:
lib/application_insights/channel/contracts/json_serializable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#json_mappingsObject (readonly)

Returns the value of attribute json_mappings.



8
9
10
# File 'lib/application_insights/channel/contracts/json_serializable.rb', line 8

def json_mappings
  @json_mappings
end

Instance Method Details

#attribute_mapping(mappings) ⇒ Object



10
11
12
# File 'lib/application_insights/channel/contracts/json_serializable.rb', line 10

def attribute_mapping(mappings)
  @json_mappings = mappings
end