Class: InchCI::BadgeRequest

Inherits:
Struct
  • Object
show all
Includes:
BadgeMethods
Defined in:
lib/inch_ci/badge.rb

Constant Summary

Constants included from BadgeMethods

InchCI::BadgeMethods::DEFAULT_IMAGE_FORMAT, InchCI::BadgeMethods::DEFAULT_IMAGE_STYLE, InchCI::BadgeMethods::IMAGE_FORMATS, InchCI::BadgeMethods::IMAGE_STYLES

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from BadgeMethods

#filename, included, #local_filename

Instance Attribute Details

#branch_nameObject

Returns the value of attribute branch_name

Returns:

  • (Object)

    the current value of branch_name


67
68
69
# File 'lib/inch_ci/badge.rb', line 67

def branch_name
  @branch_name
end

#repo_nameObject

Returns the value of attribute repo_name

Returns:

  • (Object)

    the current value of repo_name


67
68
69
# File 'lib/inch_ci/badge.rb', line 67

def repo_name
  @repo_name
end

#service_nameObject

Returns the value of attribute service_name

Returns:

  • (Object)

    the current value of service_name


67
68
69
# File 'lib/inch_ci/badge.rb', line 67

def service_name
  @service_name
end

#user_nameObject

Returns the value of attribute user_name

Returns:

  • (Object)

    the current value of user_name


67
68
69
# File 'lib/inch_ci/badge.rb', line 67

def user_name
  @user_name
end

Instance Method Details

#project_tripleObject


70
71
72
# File 'lib/inch_ci/badge.rb', line 70

def project_triple
  [service_name, user_name, repo_name]
end