Sha256: 39a5b722e6707819b0d9a931570ecbf7ea2001c684e18af033bc8065b7cd8bd7

Contents?: true

Size: 384 Bytes

Versions: 17

Compression:

Stored size: 384 Bytes

Contents

module Rapa
  class AlternateVersion
    # @return [Hash]
    attr_reader :source

    # @param source [Hash]
    def initialize(source)
      @source = source
    end

    # @return [String]
    def asin
      source["ASIN"]
    end

    # @return [String]
    def binding
      source["Binding"]
    end

    # @return [String]
    def title
      source["Title"]
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rapa-0.6.0 lib/rapa/alternate_version.rb
rapa-0.5.7 lib/rapa/alternate_version.rb
rapa-0.5.6 lib/rapa/alternate_version.rb
rapa-0.5.5 lib/rapa/alternate_version.rb
rapa-0.5.4 lib/rapa/alternate_version.rb
rapa-0.5.3 lib/rapa/alternate_version.rb
rapa-0.5.2 lib/rapa/alternate_version.rb
rapa-0.5.1 lib/rapa/alternate_version.rb
rapa-0.5.0 lib/rapa/alternate_version.rb
rapa-0.4.3 lib/rapa/alternate_version.rb
rapa-0.4.2 lib/rapa/alternate_version.rb
rapa-0.4.1 lib/rapa/alternate_version.rb
rapa-0.4.0 lib/rapa/alternate_version.rb
rapa-0.3.3 lib/rapa/alternate_version.rb
rapa-0.3.2 lib/rapa/alternate_version.rb
rapa-0.3.1 lib/rapa/alternate_version.rb
rapa-0.3.0 lib/rapa/alternate_version.rb