lib/moceansdk/modules/account/pricing.rb in moceansdk-1.0.0 vs lib/moceansdk/modules/account/pricing.rb in moceansdk-1.0.1

- old
+ new

@@ -1,38 +1,38 @@ -module Moceansdk - module Modules - module Account - - class Pricing < Moceansdk::Modules::AbstractClient - def initialize(obj_auth, transmitter) - super(obj_auth, transmitter) - @required_fields = ['mocean-api-key', 'mocean-api-secret'] - end - - def mcc=(param) - @params['mocean-mcc'] = param - end - - def mnc=(param) - @params['mocean-mnc'] = param - end - - def delimiter=(param) - @params['mocean-delimiter'] = param - end - - def resp_format=(param) - @params['mocean-resp-format'] = param - end - - def inquiry(params = {}) - create(params) - create_final_params - required_field_set? - - @transmitter.get('/account/pricing', @params) - end - end - - end - end +module Moceansdk + module Modules + module Account + + class Pricing < Moceansdk::Modules::AbstractClient + def initialize(obj_auth, transmitter) + super(obj_auth, transmitter) + @required_fields = ['mocean-api-key', 'mocean-api-secret'] + end + + def mcc=(param) + @params['mocean-mcc'] = param + end + + def mnc=(param) + @params['mocean-mnc'] = param + end + + def delimiter=(param) + @params['mocean-delimiter'] = param + end + + def resp_format=(param) + @params['mocean-resp-format'] = param + end + + def inquiry(params = {}) + create(params) + create_final_params + required_field_set? + + @transmitter.get('/account/pricing', @params) + end + end + + end + end end \ No newline at end of file