Sha256: 1feac13fd6a7b9920c7fb944fd0d17c67276fb2e1cb49a3c34111c914d80fddb

Contents?: true

Size: 349 Bytes

Versions: 10

Compression:

Stored size: 349 Bytes

Contents

require_relative './customer_profile'

module TalonOne
  module Integration
    class SearchProfilesResult
      def initialize(raw_data)
        @raw = raw_data
      end

      def profiles
        @profiles ||= @raw["data"].map do |raw_array|
          TalonOne::Integration::CustomerProfile.new raw_array
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
talon_one-0.1.3 lib/integration/search_profiles_result.rb
talon_one-0.1.2 lib/integration/search_profiles_result.rb
talon_one-0.1.1 lib/integration/search_profiles_result.rb
talon_one-0.1.0 lib/integration/search_profiles_result.rb
talon_one-0.0.10 lib/integration/search_profiles_result.rb
talon_one-0.0.9 lib/integration/search_profiles_result.rb
talon_one-0.0.8 lib/integration/search_profiles_result.rb
talon_one-0.0.7 lib/integration/search_profiles_result.rb
talon_one-0.0.6 lib/integration/search_profiles_result.rb
talon_one-0.0.5 lib/integration/search_profiles_result.rb