Sha256: 123170cf58138c3e812b45726fa0f7e9fdba9e23bb2a7469110f5aa8cd43e9b6
Contents?: true
Size: 475 Bytes
Versions: 1
Compression:
Stored size: 475 Bytes
Contents
module Octogate class GH::Repository include Model attr_reader :id, :name, :description, :homepage, :watchers, :stargazers, :forks, :fork, :size, :owner, :private, :open_issues, :has_issues, :has_downloads, :has_wiki, :language, :created_at, :pushed_at, :master_branch, :pusher def initialize(**args) new_args = args.deep_symbolize_keys new_args[:owner] = GH::User.new(new_args[:owner]) if new_args[:owner] super(new_args) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
octogate-0.1.0 | lib/octogate/gh/repository.rb |