Class: Printavo::Job
Instance Method Summary
collapse
#==, #[], #dig, #initialize, #inspect, #to_h
Instance Method Details
#id ⇒ Object
6
|
# File 'lib/printavo/models/job.rb', line 6
def id = self['id']
|
#name ⇒ Object
7
|
# File 'lib/printavo/models/job.rb', line 7
def name = self['name']
|
#price ⇒ Object
9
|
# File 'lib/printavo/models/job.rb', line 9
def price = self['price']
|
#quantity ⇒ Object
8
|
# File 'lib/printavo/models/job.rb', line 8
def quantity = self['quantity']
|
#taxable ⇒ Object
10
|
# File 'lib/printavo/models/job.rb', line 10
def taxable = self['taxable']
|
#taxable? ⇒ Boolean
12
13
14
|
# File 'lib/printavo/models/job.rb', line 12
def taxable?
taxable == true
end
|