Class: AbsorbApi::Resource

Inherits:
Record
  • Object
show all
Defined in:
lib/absorb_api/resource.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Record

all, can_create, can_search, find, #initialize, with_relationships

Constructor Details

This class inherits a constructor from AbsorbApi::Record

Instance Attribute Details

#fileObject

Returns the value of attribute file.



5
6
7
# File 'lib/absorb_api/resource.rb', line 5

def file
  @file
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/absorb_api/resource.rb', line 5

def id
  @id
end

#module_idObject

Returns the value of attribute module_id.



5
6
7
# File 'lib/absorb_api/resource.rb', line 5

def module_id
  @module_id
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/absorb_api/resource.rb', line 5

def name
  @name
end