Sha256: b41da3bcc266ad07f9668e2ecd76c8c40f62f5a8abed4edc53aa6c53226ba8df

Contents?: true

Size: 415 Bytes

Versions: 5

Compression:

Stored size: 415 Bytes

Contents

# frozen_string_literal: true

module KExt
  module Github
    module Models
      # This model represents a GitHub owner
      class Owner
        include Virtus.model

        def initialize(attributes = nil)
          # Virtus will take your attributes and match them to the attribute definitions listed below
          super(attributes)
        end

        attribute :login, String
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
k_ext-github-0.0.10 lib/k_ext/github/models/owner.rb
k_ext-github-0.0.8 lib/k_ext/github/models/owner.rb
k_ext-github-0.0.5 lib/k_ext/github/models/owner.rb
k_ext-github-0.0.4 lib/k_ext/github/models/owner.rb
k_ext-github-0.0.3 lib/k_ext/github/models/owner.rb