Sha256: 022e29c6f9ee8dcd4d1cfc348695a72f095bee710d3d8cbd38d2d33a5605e4c2

Contents?: true

Size: 222 Bytes

Versions: 4

Compression:

Stored size: 222 Bytes

Contents

module Zoro
  class Lead < Record
    def initialize(data = {})
      @fields = {}.merge(data)
      @zoho_module = "Leads"
    end

    def add_field(field_name, value)
      @fields[field_name] = value
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zoro-0.0.5 lib/zoro/lead.rb
zoro-0.0.4 lib/zoro/lead.rb
zoro-0.0.3 lib/zoro/lead.rb
zoro-0.0.2 lib/zoro/lead.rb