Class: OpenPull::Client
- Inherits:
-
Object
- Object
- OpenPull::Client
- Defined in:
- lib/openpull/client.rb
Instance Attribute Summary collapse
-
#octokit_client ⇒ Object
readonly
Returns the value of attribute octokit_client.
-
#organisation ⇒ Object
readonly
Returns the value of attribute organisation.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(access_token, organisation, username) ⇒ Client
constructor
A new instance of Client.
- #show_table ⇒ Object
Constructor Details
#initialize(access_token, organisation, username) ⇒ Client
Returns a new instance of Client.
7 8 9 10 11 12 |
# File 'lib/openpull/client.rb', line 7 def initialize(access_token, organisation, username) @organisation = organisation @username = username setup_octokit(access_token) end |
Instance Attribute Details
#octokit_client ⇒ Object (readonly)
Returns the value of attribute octokit_client.
5 6 7 |
# File 'lib/openpull/client.rb', line 5 def octokit_client @octokit_client end |
#organisation ⇒ Object (readonly)
Returns the value of attribute organisation.
5 6 7 |
# File 'lib/openpull/client.rb', line 5 def organisation @organisation end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
5 6 7 |
# File 'lib/openpull/client.rb', line 5 def username @username end |