Sha256: a76c22802eb6864ec4a8128388db9318994b0f9a6eada07c8ef2775895b78da2

Contents?: true

Size: 220 Bytes

Versions: 6

Compression:

Stored size: 220 Bytes

Contents

module Marvel
  module Configuration

    attr_accessor :api_key, :private_key

    def configure
      yield self
    end

    def reset
      self.api_key = nil
      self.private_key = nil
      self
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
marvel_api-0.2.1 lib/marvel/configuration.rb
marvel_api-0.2.0 lib/marvel/configuration.rb
marvel_api-0.1.3 lib/marvel/configuration.rb
marvel_api-0.1.2 lib/marvel/configuration.rb
marvel_api-0.1.1 lib/marvel/configuration.rb
marvel_api-0.1.0 lib/marvel/configuration.rb