Sha256: 0a2929356678f51fb825a93a8ce8d7db696c8483dee762a53b371078a6deda4a

Contents?: true

Size: 787 Bytes

Versions: 7

Compression:

Stored size: 787 Bytes

Contents

#!/usr/bin/env ruby -w
# encoding: UTF-8
#
# = UserProfile.rb -- Fit4Ruby - FIT file processing library for Ruby
#
# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.
#

require 'fit4ruby/FitDataRecord'

module Fit4Ruby

  # This class corresponds to the old_user_profile FIT message.
  class UserProfile < FitDataRecord

    # Create a new UserProfile object.
    # @param field_values [Hash] Hash that provides initial values for certain
    #        fields.
    def initialize(field_values = {})
      super('old_user_profile')
      set_field_values(field_values)
    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fit4ruby-2.0.0 lib/fit4ruby/UserProfile.rb
fit4ruby-1.7.0 lib/fit4ruby/UserProfile.rb
fit4ruby-1.6.2 lib/fit4ruby/UserProfile.rb
fit4ruby-1.6.1 lib/fit4ruby/UserProfile.rb
fit4ruby-1.6.0 lib/fit4ruby/UserProfile.rb
fit4ruby-1.5.1 lib/fit4ruby/UserProfile.rb
fit4ruby-1.5.0 lib/fit4ruby/UserProfile.rb