Sha256: 7d202b0770188369d7b5596b0c1bf1ec123793acf7b8044d7261d739ae412e55

Contents?: true

Size: 554 Bytes

Versions: 1

Compression:

Stored size: 554 Bytes

Contents

module SpyFu
  class Client
    attr :app_id, :secret_key

    def initialize(app_id, secret_key)
      @app_id = app_id
      @secret_key = secret_key
    end

    def ad_history_api
      SpyFu::Api::AdHistory.new(self)
    end

    def core_api
      SpyFu::Api::Core.new(self)
    end

    def kss_api
      SpyFu::Api::Kss.new(self)
    end

    def leads_api
      SpyFu::Api::Leads.new(self)
    end

    def url_api
      SpyFu::Api::Url.new(self)
    end

    def weekly_tracking_api
      SpyFu::Api::WeeklyTracking.new(self)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spyfu-0.1.0 lib/spyfu/client.rb