Sha256: ae2a5417733822f4eba51b6e0a4e8266164fd45791da6e592c01182765b81f6c

Contents?: true

Size: 302 Bytes

Versions: 9

Compression:

Stored size: 302 Bytes

Contents

module Enlight
  module Responses
    module OrganizationAttributable
      attr_accessor :organization

      def organization=(value)
        if value
          @organization = Enlight::Models::Organization.new(value)
        else
          @organization = nil
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
enlight-0.2.4 lib/enlight/responses/organization_attributable.rb
enlight-0.2.3 lib/enlight/responses/organization_attributable.rb
enlight-0.2.2 lib/enlight/responses/organization_attributable.rb
enlight-0.2.1 lib/enlight/responses/organization_attributable.rb
enlight-0.2.0 lib/enlight/responses/organization_attributable.rb
enlight-0.1.4 lib/enlight/responses/organization_attributable.rb
enlight-0.1.3 lib/enlight/responses/organization_attributable.rb
enlight-0.1.2 lib/enlight/responses/organization_attributable.rb
enlight-0.1.0 lib/enlight/responses/organization_attributable.rb