Class: Braintree::AccountUpdaterDailyReport

Inherits:
Object
  • Object
show all
Includes:
BaseModule
Defined in:
lib/braintree/account_updater_daily_report.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods included from BaseModule

included

Methods included from BaseModule::Methods

#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class

Constructor Details

#initialize(attributes) ⇒ AccountUpdaterDailyReport

Returns a new instance of AccountUpdaterDailyReport.



15
16
17
18
# File 'lib/braintree/account_updater_daily_report.rb', line 15

def initialize(attributes)
  set_instance_variables_from_hash(attributes)
  @report_date = Date.parse(report_date)
end

Instance Attribute Details

#report_dateObject (readonly)

Returns the value of attribute report_date.



5
6
7
# File 'lib/braintree/account_updater_daily_report.rb', line 5

def report_date
  @report_date
end

#report_urlObject (readonly)

Returns the value of attribute report_url.



6
7
8
# File 'lib/braintree/account_updater_daily_report.rb', line 6

def report_url
  @report_url
end

Class Method Details

._new(*args) ⇒ Object



10
11
12
# File 'lib/braintree/account_updater_daily_report.rb', line 10

def _new(*args)
  self.new(*args)
end