Sha256: 5fccb997d5fff78a2d3017d867809906eb847f61e7c9496589c98a6ab39a1f85

Contents?: true

Size: 272 Bytes

Versions: 9

Compression:

Stored size: 272 Bytes

Contents

module Enlight
  module Responses
    module CompanyAttributable
      attr_accessor :company

      def company=(value)
        if value
          @company = Enlight::Models::Company.new(value)
        else
          @company = 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/company_attributable.rb
enlight-0.2.3 lib/enlight/responses/company_attributable.rb
enlight-0.2.2 lib/enlight/responses/company_attributable.rb
enlight-0.2.1 lib/enlight/responses/company_attributable.rb
enlight-0.2.0 lib/enlight/responses/company_attributable.rb
enlight-0.1.4 lib/enlight/responses/company_attributable.rb
enlight-0.1.3 lib/enlight/responses/company_attributable.rb
enlight-0.1.2 lib/enlight/responses/company_attributable.rb
enlight-0.1.0 lib/enlight/responses/company_attributable.rb