lib/rsqoot/client.rb in rsqoot-0.5.3 vs lib/rsqoot/client.rb in rsqoot-0.5.4
- old
+ new
@@ -20,17 +20,17 @@
include Merchant
include Provider
include Request
include Logger
- attr_accessor :public_api_key,
- :private_api_key,
- :base_api_url,
- :authentication_method,
- :read_timeout,
- :query_options,
- :expired_in,
- :sqoot_query_uri
+ attr_reader :public_api_key,
+ :private_api_key,
+ :base_api_url,
+ :authentication_method,
+ :read_timeout,
+ :query_options,
+ :expired_in,
+ :sqoot_query_uri
def initialize(options={})
@public_api_key = options[:public_api_key] || RSqoot.public_api_key
@private_api_key = options[:private_api_key] || RSqoot.private_api_key
@base_api_url = options[:base_api_url] || RSqoot.base_api_url