Class: ChargeBee::Meter

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/meter.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

#column_definitionsObject

Returns the value of attribute column_definitions.



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

def column_definitions
  @column_definitions
end

#created_atObject

Returns the value of attribute created_at.



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

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#featuresObject

Returns the value of attribute features.



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

def features
  @features
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#queryObject

Returns the value of attribute query.



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

def query
  @query
end

#statusObject

Returns the value of attribute status.



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

def status
  @status
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



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

def updated_at
  @updated_at
end

Class Method Details

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

OPERATIONS



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

def self.list(params={}, env=nil, headers={})
  jsonKeys = { 
  }
  options = {}
  Request.send_list_request('get', uri_path("meters"), params, env, headers,nil, false, jsonKeys, options, "meter", "list")
end