Sha256: d79921c926bf08beae9381cc5a3cceb1a544cc821a332649a6219cf4b9722975

Contents?: true

Size: 132 Bytes

Versions: 5

Compression:

Stored size: 132 Bytes

Contents

module Beatport
  class Price < Money

    def initialize(data = {})
      super(data['value'] || 0, data['code'])
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
beatport-0.1.6 lib/beatport/price.rb
beatport-0.1.5 lib/beatport/price.rb
beatport-0.1.3 lib/beatport/price.rb
beatport-0.1.2 lib/beatport/price.rb
beatport-0.1.1 lib/beatport/price.rb