Sha256: 24b270eb4b1492b226190a485ef03647ba771f788f88bdd5bb7fd26154b77fa7

Contents?: true

Size: 415 Bytes

Versions: 11

Compression:

Stored size: 415 Bytes

Contents

module Myfinance
  module Entities
    #
    # A wrapper to Myfinance custom_classifiers collection
    #
    class CustomClassifierValueCollection < Collection
      def build_collection
        response.parsed_body.each do |attributes|
          collection.push(
            Myfinance::Entities::CustomClassifierValue.new(attributes["custom_classifier_value"])
          )
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
myfinance-1.8.2 lib/myfinance/entities/custom_classifier_value_collection.rb
myfinance-1.8.1 lib/myfinance/entities/custom_classifier_value_collection.rb
myfinance-1.8.0 lib/myfinance/entities/custom_classifier_value_collection.rb
myfinance-1.7.0 lib/myfinance/entities/custom_classifier_value_collection.rb
myfinance-1.6.6 lib/myfinance/entities/custom_classifier_value_collection.rb
myfinance-1.6.5 lib/myfinance/entities/custom_classifier_value_collection.rb
myfinance-1.6.4 lib/myfinance/entities/custom_classifier_value_collection.rb
myfinance-1.6.3 lib/myfinance/entities/custom_classifier_value_collection.rb
myfinance-1.6.1 lib/myfinance/entities/custom_classifier_value_collection.rb
myfinance-1.6.0 lib/myfinance/entities/custom_classifier_value_collection.rb
myfinance-1.5.0 lib/myfinance/entities/custom_classifier_value_collection.rb