Sha256: 2c43cf33e8a79a7d1e5f264937cc90b76f12fb551f841bcc5142cc1e4f10f2cb

Contents?: true

Size: 298 Bytes

Versions: 54

Compression:

Stored size: 298 Bytes

Contents

module Dugway
  module Drops
    class AccountDrop < BaseDrop
      def logged_in
        false
      end

      def currency
        @currency ||= CurrencyDrop.new(source['currency'])
      end

      def country
        @country ||= CountryDrop.new(source['country'])
      end
    end
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
dugway-0.6.4 lib/dugway/liquid/drops/account_drop.rb
dugway-0.6.3 lib/dugway/liquid/drops/account_drop.rb
dugway-0.6.2 lib/dugway/liquid/drops/account_drop.rb
dugway-0.6.1 lib/dugway/liquid/drops/account_drop.rb
dugway-0.6.0 lib/dugway/liquid/drops/account_drop.rb
dugway-0.5.9 lib/dugway/liquid/drops/account_drop.rb
dugway-0.5.8 lib/dugway/liquid/drops/account_drop.rb
dugway-0.5.7 lib/dugway/liquid/drops/account_drop.rb
dugway-0.5.6 lib/dugway/liquid/drops/account_drop.rb
dugway-0.5.4 lib/dugway/liquid/drops/account_drop.rb
dugway-0.5.3 lib/dugway/liquid/drops/account_drop.rb
dugway-0.5.2 lib/dugway/liquid/drops/account_drop.rb
dugway-0.5.1 lib/dugway/liquid/drops/account_drop.rb
dugway-0.5.0 lib/dugway/liquid/drops/account_drop.rb