Class: Bitrise::App

Inherits:
Object
  • Object
show all
Defined in:
lib/bitrise/app.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attrs = {}) ⇒ App

Returns a new instance of App.



18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/bitrise/app.rb', line 18

def initialize(attrs = {})
  @slug = attrs['slug']
  @title = attrs['title']
  @project_type = attrs['project_type']
  @provider = attrs['provider']
  @repo_owner = attrs['repo_owner']
  @repo_url = attrs['repo_url']
  @repo_slug = attrs['repo_slug']
  @is_disabled = attrs['is_disabled']
  @status = attrs['status']
  @is_public = attrs['is_public']
  @is_github_checks_enabled = attrs['is_github_checks_enabled']
  @owner = AppOwner.new(attrs['owner'])
  @avatar_url = attrs['avatar_url']
end

Instance Attribute Details

#avatar_urlObject (readonly)

Returns the value of attribute avatar_url.



16
17
18
# File 'lib/bitrise/app.rb', line 16

def avatar_url
  @avatar_url
end

#is_disabledObject (readonly)

Returns the value of attribute is_disabled.



16
17
18
# File 'lib/bitrise/app.rb', line 16

def is_disabled
  @is_disabled
end

#is_github_checks_enabledObject (readonly)

Returns the value of attribute is_github_checks_enabled.



16
17
18
# File 'lib/bitrise/app.rb', line 16

def is_github_checks_enabled
  @is_github_checks_enabled
end

#is_publicObject (readonly)

Returns the value of attribute is_public.



16
17
18
# File 'lib/bitrise/app.rb', line 16

def is_public
  @is_public
end

#ownerObject (readonly)

Returns the value of attribute owner.



16
17
18
# File 'lib/bitrise/app.rb', line 16

def owner
  @owner
end

#project_typeObject (readonly)

Returns the value of attribute project_type.



16
17
18
# File 'lib/bitrise/app.rb', line 16

def project_type
  @project_type
end

#providerObject (readonly)

Returns the value of attribute provider.



16
17
18
# File 'lib/bitrise/app.rb', line 16

def provider
  @provider
end

#repo_ownerObject (readonly)

Returns the value of attribute repo_owner.



16
17
18
# File 'lib/bitrise/app.rb', line 16

def repo_owner
  @repo_owner
end

#repo_slugObject (readonly)

Returns the value of attribute repo_slug.



16
17
18
# File 'lib/bitrise/app.rb', line 16

def repo_slug
  @repo_slug
end

#repo_urlObject (readonly)

Returns the value of attribute repo_url.



16
17
18
# File 'lib/bitrise/app.rb', line 16

def repo_url
  @repo_url
end

#slugObject (readonly)

Returns the value of attribute slug.



16
17
18
# File 'lib/bitrise/app.rb', line 16

def slug
  @slug
end

#statusObject (readonly)

Returns the value of attribute status.



16
17
18
# File 'lib/bitrise/app.rb', line 16

def status
  @status
end

#titleObject (readonly)

Returns the value of attribute title.



16
17
18
# File 'lib/bitrise/app.rb', line 16

def title
  @title
end