class Bronto::Contact::Field

Attributes

content[RW]
field_id[RW]

Public Class Methods

new(id, content) click to toggle source
# File lib/bronto/contact.rb, line 88
def initialize(id, content)
  self.field_id = id
  self.content = content
end

Public Instance Methods

to_hash() click to toggle source
# File lib/bronto/contact.rb, line 93
def to_hash
  { field_id: field_id, content: content }
end