Class: ChargeBee::ResourceMigration

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

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Model

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

#created_atObject

Returns the value of attribute created_at.



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

def created_at
  @created_at
end

#entity_idObject

Returns the value of attribute entity_id.



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

def entity_id
  @entity_id
end

#entity_typeObject

Returns the value of attribute entity_type.



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

def entity_type
  @entity_type
end

#errorsObject

Returns the value of attribute errors.



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

def errors
  @errors
end

#from_siteObject

Returns the value of attribute from_site.



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

def from_site
  @from_site
end

#statusObject

Returns the value of attribute status.



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

def status
  @status
end

#updated_atObject

Returns the value of attribute updated_at.



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

def updated_at
  @updated_at
end

Class Method Details

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

OPERATIONS




9
10
11
# File 'lib/chargebee/models/resource_migration.rb', line 9

def self.retrieve_latest(params, env=nil, headers={})
  Request.send('get', uri_path("resource_migrations","retrieve_latest"), params, env, headers)
end