Exception: LMC::OutdatedTermsOfUseException
Instance Method Summary
collapse
#initialize, #message
Instance Method Details
#missing ⇒ Object
14
15
16
|
# File 'lib/lmc/exceptions/lmc_outdated_terms_of_use_exception.rb', line 14
def missing
@response['details']['missing']
end
|
#response ⇒ Object
5
6
7
8
9
10
11
12
|
# File 'lib/lmc/exceptions/lmc_outdated_terms_of_use_exception.rb', line 5
def response
r = "Terms of use must be accepted before using this LMC instance:\n"
missing.each do |tos|
r += "Name: #{tos['name']}, Date #{tos['acceptance']}\n"
end
r
end
|