Class: ChargeBee::Attribute

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #replace_white_space_with_underscore, #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

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#valueObject

Returns the value of attribute value.



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

def value
  @value
end