Sha256: 34d6f8db86432b1f58e9f399b836f4fa3b46eb3a93abf7a6199283abdef8d041
Contents?: true
Size: 429 Bytes
Versions: 1
Compression:
Stored size: 429 Bytes
Contents
module Shutterstock class SubscriptionPrice < Driver attr_reader :local_amount, :local_currency def initialize(params={}) @hash = params @local_amount = params["local_amount"].to_f if params["local_amount"] # (number, optional), @local_currency = params["local_currency"] if params["local_currency"] # (string, optional) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shutterstock-v2-0.0.1 | lib/client/subscription_price.rb |