class Dotloop::LoopDetail

Constants

FIXED_SECTIONS

Attributes

details[RW]

Public Class Methods

new(data) click to toggle source
# File lib/dotloop/loop_detail.rb, line 12
def initialize(data)
  @details = FIXED_SECTIONS.each_with_object({}) { |key, memo| memo[key] = {} }.merge(contacts: [])
  parse_data(data)
end

Private Instance Methods

fields() click to toggle source
# File lib/dotloop/loop_detail.rb, line 19
def fields
  FIXED_SECTIONS
end