Class: CreditGateway::RatingStatus
Instance Method Summary
collapse
Methods inherited from BaseModel
#as_json, attribute_aliases, attributes, build, #initialize, key_transformer
Instance Method Details
#complete? ⇒ Boolean
9
10
11
|
# File 'lib/credit_gateway/rating_status.rb', line 9
def complete?
status == 'complete'
end
|
#pending? ⇒ Boolean
13
14
15
|
# File 'lib/credit_gateway/rating_status.rb', line 13
def pending?
status == 'pending'
end
|
#unprocessable? ⇒ Boolean
17
18
19
|
# File 'lib/credit_gateway/rating_status.rb', line 17
def unprocessable?
status == 'unprocessable'
end
|