Class: Provet::Item
Instance Method Summary collapse
-
#initialize(type_code:) ⇒ Item
constructor
A new instance of Item.
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 |