Class: GoodDataEloqua::Contacts

Inherits:
Request
  • Object
show all
Defined in:
lib/gooddata_eloqua/models/contacts.rb

Instance Attribute Summary collapse

Attributes inherited from Request

#asset_type

Instance Method Summary collapse

Methods inherited from Request

#clean, #download_all_ids_return_csv, #get_all, #get_all_by_page, #get_all_distributed, #get_complete_profile_from_ids_csv, #get_one, #get_one_by_id, #set_asset_type

Constructor Details

#initialize(config = {}) ⇒ Contacts

Returns a new instance of Contacts.



5
6
7
8
9
10
11
12
13
# File 'lib/gooddata_eloqua/models/contacts.rb', line 5

def initialize(config={})

  @client = $client
  @session_id ||= SecureRandom.hex+"_contacts"
  @session_csv = @session_id+".csv"
  self.set_asset_type('contacts')

  #""/data/contact/100002'
end

Instance Attribute Details

#session_csvObject

Returns the value of attribute session_csv.



3
4
5
# File 'lib/gooddata_eloqua/models/contacts.rb', line 3

def session_csv
  @session_csv
end