Module: GoodDataMarketo

Defined in:
lib/gooddata_marketo.rb

Defined Under Namespace

Classes: Activity, Campaigns, Client, Criteria, ETL, Lead, Leads, LoadFile, Loads, MObject, MObjects, RESTAdapter, SafeStream, Stream, Validate

Constant Summary collapse

VERSION =
"0.0.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggingObject

Returns the value of attribute logging.



8
9
10
# File 'lib/gooddata_marketo.rb', line 8

def logging
  @logging
end

Class Method Details

.client(config = {}) ⇒ Object Also known as: connect



10
11
12
13
# File 'lib/gooddata_marketo.rb', line 10

def client(config = {})
  GoodDataMarketo.logging = false
  GoodDataMarketo::Client.new(config)
end

.freeze(*args) ⇒ Object

Bloc freeze args.



15
16
17
# File 'lib/gooddata_marketo.rb', line 15

def freeze(*args) # Bloc freeze args.
  args.each(&:freeze).freeze
end