Class: Conekta::Plan

Instance Attribute Summary collapse

Attributes inherited from Resource

#id

Attributes inherited from ConektaObject

#values

Method Summary

Methods included from Operations::CreateMember

#create_member

Methods included from Operations::CustomAction

#custom_action

Methods included from Operations::Update

#update

Methods included from Operations::Delete

#delete, #delete_member

Methods included from Operations::Create

included

Methods included from Operations::Where

handle_type_of_paging, included

Methods included from Operations::Find

included

Methods inherited from Resource

#_url, _url, #create_member_with_relation, #initialize, underscored_class

Methods inherited from ConektaObject

#class_name, class_name, #create_attr, #first, #initialize, #inspect, #last, #load_from, #set_val, #to_s, #unset_key

Constructor Details

This class inherits a constructor from Conekta::Resource

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



11
12
13
# File 'lib/conekta/plan.rb', line 11

def amount
  @amount
end

#created_atObject

Returns the value of attribute created_at.



11
12
13
# File 'lib/conekta/plan.rb', line 11

def created_at
  @created_at
end

#currencyObject

Returns the value of attribute currency.



11
12
13
# File 'lib/conekta/plan.rb', line 11

def currency
  @currency
end

#expiry_countObject

Returns the value of attribute expiry_count.



11
12
13
# File 'lib/conekta/plan.rb', line 11

def expiry_count
  @expiry_count
end

#frequencyObject

Returns the value of attribute frequency.



11
12
13
# File 'lib/conekta/plan.rb', line 11

def frequency
  @frequency
end

#intervalObject

Returns the value of attribute interval.



11
12
13
# File 'lib/conekta/plan.rb', line 11

def interval
  @interval
end

#livemodeObject

Returns the value of attribute livemode.



11
12
13
# File 'lib/conekta/plan.rb', line 11

def livemode
  @livemode
end

#nameObject

Returns the value of attribute name.



11
12
13
# File 'lib/conekta/plan.rb', line 11

def name
  @name
end

#trial_period_daysObject

Returns the value of attribute trial_period_days.



11
12
13
# File 'lib/conekta/plan.rb', line 11

def trial_period_days
  @trial_period_days
end