Sha256: a08980b5ae0502dd0b78a788230ad35e7aebb01b510ff5af9fff3a4426a900b7

Contents?: true

Size: 555 Bytes

Versions: 19

Compression:

Stored size: 555 Bytes

Contents

# Copyright (C) 2008-2011 AMEE UK Ltd. - http://www.amee.com
# Released as Open Source Software under the BSD 3-Clause license. See LICENSE.txt for details.

module AMEE
  module Profile
    class Object < AMEE::Object

      def initialize(options = {})
        @profile_uid = options[:profile_uid]
        @profile_date = options[:profile_date]
        super
      end

      attr_reader :profile_uid
      attr_reader :profile_date

      def full_path
        "/profiles#{'/' if @profile_uid}#{@profile_uid}#{@path}"
      end
      
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
amee-4.4.0 lib/amee/profile_object.rb
amee-4.3.2 lib/amee/profile_object.rb
amee-4.3.1 lib/amee/profile_object.rb
amee-4.3.0 lib/amee/profile_object.rb
amee-4.2.0 lib/amee/profile_object.rb
amee-3.2.1 lib/amee/profile_object.rb
amee-3.2.0 lib/amee/profile_object.rb
amee-4.1.7 lib/amee/profile_object.rb
amee-4.1.6 lib/amee/profile_object.rb
amee-4.1.5 lib/amee/profile_object.rb
amee-4.1.4 lib/amee/profile_object.rb
amee-4.1.3 lib/amee/profile_object.rb
amee-3.1.2 lib/amee/profile_object.rb
amee-3.1.1 lib/amee/profile_object.rb
amee-4.1.2 lib/amee/profile_object.rb
amee-4.1.1 lib/amee/profile_object.rb
amee-4.1.0 lib/amee/profile_object.rb
amee-4.0.0 lib/amee/profile_object.rb
amee-3.0.1 lib/amee/profile_object.rb