Class: ChargeBee::EmailLog

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/email_log.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Model

construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #replace_white_space_with_underscore, #respond_to_missing?, #to_s, uri_path

Constructor Details

This class inherits a constructor from ChargeBee::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ChargeBee::Model

Instance Attribute Details

#brand_id ⇒ Object

Returns the value of attribute brand_id.



4
5
6
# File 'lib/chargebee/models/email_log.rb', line 4

def brand_id
  @brand_id
end

#business_entity_id ⇒ Object

Returns the value of attribute business_entity_id.



4
5
6
# File 'lib/chargebee/models/email_log.rb', line 4

def business_entity_id
  @business_entity_id
end

#customer_id ⇒ Object

Returns the value of attribute customer_id.



4
5
6
# File 'lib/chargebee/models/email_log.rb', line 4

def customer_id
  @customer_id
end

#error_message ⇒ Object

Returns the value of attribute error_message.



4
5
6
# File 'lib/chargebee/models/email_log.rb', line 4

def error_message
  @error_message
end

#from_address ⇒ Object

Returns the value of attribute from_address.



4
5
6
# File 'lib/chargebee/models/email_log.rb', line 4

def from_address
  @from_address
end

#id ⇒ Object

Returns the value of attribute id.



4
5
6
# File 'lib/chargebee/models/email_log.rb', line 4

def id
  @id
end

#sent_on ⇒ Object

Returns the value of attribute sent_on.



4
5
6
# File 'lib/chargebee/models/email_log.rb', line 4

def sent_on
  @sent_on
end

#site_id ⇒ Object

Returns the value of attribute site_id.



4
5
6
# File 'lib/chargebee/models/email_log.rb', line 4

def site_id
  @site_id
end

#status ⇒ Object

Returns the value of attribute status.



4
5
6
# File 'lib/chargebee/models/email_log.rb', line 4

def status
  @status
end

#subject ⇒ Object

Returns the value of attribute subject.



4
5
6
# File 'lib/chargebee/models/email_log.rb', line 4

def subject
  @subject
end

#template_name ⇒ Object

Returns the value of attribute template_name.



4
5
6
# File 'lib/chargebee/models/email_log.rb', line 4

def template_name
  @template_name
end

#to_address ⇒ Object

Returns the value of attribute to_address.



4
5
6
# File 'lib/chargebee/models/email_log.rb', line 4

def to_address
  @to_address
end

Class Method Details

.email_logs_for_customer(id, params = {}, env = nil, headers = {}) ⇒ Object

OPERATIONS



10
11
12
13
14
15
# File 'lib/chargebee/models/email_log.rb', line 10

def self.email_logs_for_customer(id, params={}, env=nil, headers={})
  jsonKeys = { 
  }
  options = {}
  Request.send('get', uri_path("customers",id.to_s,"email_logs"), params, env, headers,nil, false, jsonKeys, options, "emailLog", "emailLogsForCustomer")
end