Sha256: e9757488aea064634cb66b60566cdc965abe4d6c7d2ede0beb5e2edab9aa5d91

Contents?: true

Size: 397 Bytes

Versions: 75

Compression:

Stored size: 397 Bytes

Contents

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

75 entries across 75 versions & 2 rubygems

Version Path
amee-2.3.1 lib/amee/profile_object.rb
amee-2.3.0 lib/amee/profile_object.rb
amee-2.2.1 lib/amee/profile_object.rb
amee-2.2.0 lib/amee/profile_object.rb
amee-2.0.35 lib/amee/profile_object.rb
amee-2.0.34 lib/amee/profile_object.rb
amee-2.0.33 lib/amee/profile_object.rb
amee-2.0.32 lib/amee/profile_object.rb
amee-2.0.31 lib/amee/profile_object.rb
amee-2.0.30 lib/amee/profile_object.rb
amee-2.0.29 lib/amee/profile_object.rb
amee-2.0.28 lib/amee/profile_object.rb
amee-2.0.27 lib/amee/profile_object.rb
amee-2.0.26 lib/amee/profile_object.rb
amee-2.0.25 lib/amee/profile_object.rb