lib/iyzi/configuration.rb in iyzi-0.0.1 vs lib/iyzi/configuration.rb in iyzi-0.1.0
- old
+ new
@@ -1,8 +1,8 @@
module Iyzi
class Configuration
BASE_URL = 'https://api.iyzipay.com/'.freeze
- REQUIRED_CONFIG = %i(base_url api_key secret)
+ REQUIRED_CONFIG = %i(base_url api_key secret).freeze
attr_accessor :base_url, :api_key, :secret
def initialize(options = {})
@base_url = options[:base_url] || BASE_URL
@api_key = options[:api_key]