Sha256: 209ad5a3ca056087f0ad0cdf5b77bbdcce987f8e3a18e65b66b56b48edb3e97f

Contents?: true

Size: 592 Bytes

Versions: 2

Compression:

Stored size: 592 Bytes

Contents

# frozen_string_literal: true

require "faraday"
require "json"
require_relative "loops_sdk/version"
require_relative "loops_sdk/configuration"
require_relative "loops_sdk/base"
require_relative "loops_sdk/contacts"
require_relative "loops_sdk/events"
require_relative "loops_sdk/mailing_lists"
require_relative "loops_sdk/transactional"
require_relative "loops_sdk/custom_fields"
require_relative "loops_sdk/api_key"

module LoopsSdk
  class << self
    attr_accessor :configuration
  end

  def self.configure
    self.configuration ||= Configuration.new
    yield(configuration)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
loops_sdk-0.2.0 lib/loops_sdk.rb
loops_sdk-0.1.2 lib/loops_sdk.rb