Sha256: 556c83693782e9b1b49ed1d63135e26181064bc96ac0f27e47fcce232cd24367

Contents?: true

Size: 786 Bytes

Versions: 1

Compression:

Stored size: 786 Bytes

Contents

module Pardot

  class Client

    include HTTParty
    base_uri 'https://pi.pardot.com'
    format :xml

    include Authentication
    include Http

    include Objects::CustomFields
    include Objects::Emails
    include Objects::Lists
    include Objects::ListMemberships
    include Objects::Opportunities
    include Objects::Prospects
    include Objects::ProspectAccounts
    include Objects::Users
    include Objects::Visitors
    include Objects::Visits
    include Objects::VisitorActivities

    attr_accessor :email, :password, :user_key, :api_key, :version, :format

    def initialize email, password, user_key, version = 3
      @email = email
      @password = password
      @user_key = user_key
      @version = version

      @format = "simple"
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-pardot-1.3.2 lib/pardot/client.rb