Class: Provet::Item

Inherits:
Base
  • Object
show all
Defined in:
lib/provet/item.rb

Instance Method Summary collapse

Methods inherited from Base

#all, #collection_path, #collection_url, #create, #destroy, #find, #list, #really_destroy!, #resource_path, #resource_url, #restore, #update

Constructor Details

#initialize(type_code:) ⇒ Item

Returns a new instance of Item.



5
6
7
# File 'lib/provet/item.rb', line 5

def initialize(type_code:)
  @type_code = type_code
end