Sha256: 94b2613dd2ec7e23a1b2fcf5198fcbee2db196e5c95535cc15b4151b00e0c52a

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

require "fuelsdk/version"

require 'rubygems'
require 'date'
require 'jwt'
require 'active_support/inflector'

class Array
  class << self
    def wrap subject
      if subject.kind_of? Array
        subject
      else
        [subject]
      end
    end
  end
end

module FuelSDK
  require 'fuelsdk/utils'
  autoload :HTTPRequest, 'fuelsdk/http_request'
  autoload :Targeting, 'fuelsdk/targeting'
  autoload :Soap, 'fuelsdk/soap'
  autoload :Rest, 'fuelsdk/rest'
  require 'fuelsdk/client'
  require 'fuelsdk/objects'
end

# backwards compatability
ET_Client = FuelSDK::Client
ET_BounceEvent = FuelSDK::BounceEvent
ET_ClickEvent = FuelSDK::ClickEvent
ET_ContentArea = FuelSDK::ContentArea
ET_DataExtension = FuelSDK::DataExtension
ET_DataFolder = FuelSDK::DataFolder
ET_Folder = FuelSDK::Folder
ET_Email = FuelSDK::Email
ET_List = FuelSDK::List
ET_OpenEvent = FuelSDK::OpenEvent
ET_SentEvent = FuelSDK::SentEvent
ET_Subscriber = FuelSDK::Subscriber
ET_UnsubEvent = FuelSDK::UnsubEvent
ET_TriggeredSend = FuelSDK::TriggeredSend
ET_Campaign = FuelSDK::Campaign
ET_Get = FuelSDK::Get

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fuelsdk-0.1.3 lib/fuelsdk.rb