Class: Gitea::Resource
- Inherits:
-
Object
- Object
- Gitea::Resource
- Defined in:
- lib/gitea/resource.rb
Direct Known Subclasses
CommitStatusesResource, OrgHooksResource, OrgsResource, RepoHooksResource, ReposResource, UserReposResource, UserResource
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ Resource
constructor
A new instance of Resource.
Constructor Details
#initialize(client) ⇒ Resource
Returns a new instance of Resource.
5 6 7 |
# File 'lib/gitea/resource.rb', line 5 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
3 4 5 |
# File 'lib/gitea/resource.rb', line 3 def client @client end |