Class: Apadmi::Grout::AdoConfig

Inherits:
Struct
  • Object
show all
Defined in:
lib/apadmi/grout/models/ado_config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(personal_access_token:, base_url:, flag_tag: "FLAGGED", expand_type: "none") ⇒ AdoConfig

Returns a new instance of AdoConfig.



11
12
13
14
15
16
# File 'lib/apadmi/grout/models/ado_config.rb', line 11

def initialize(personal_access_token:,
               base_url:,
               flag_tag: "FLAGGED",
               expand_type: "none")
  super
end

Instance Attribute Details

#base_urlObject

Returns the value of attribute base_url

Returns:

  • (Object)

    the current value of base_url



5
6
7
# File 'lib/apadmi/grout/models/ado_config.rb', line 5

def base_url
  @base_url
end

#expand_typeObject

Returns the value of attribute expand_type

Returns:

  • (Object)

    the current value of expand_type



5
6
7
# File 'lib/apadmi/grout/models/ado_config.rb', line 5

def expand_type
  @expand_type
end

#flag_tagObject

Returns the value of attribute flag_tag

Returns:

  • (Object)

    the current value of flag_tag



5
6
7
# File 'lib/apadmi/grout/models/ado_config.rb', line 5

def flag_tag
  @flag_tag
end

#personal_access_tokenObject

Returns the value of attribute personal_access_token

Returns:

  • (Object)

    the current value of personal_access_token



5
6
7
# File 'lib/apadmi/grout/models/ado_config.rb', line 5

def personal_access_token
  @personal_access_token
end