Class: Agris::Context

Inherits:
Struct
  • Object
show all
Defined in:
lib/agris/context.rb

Instance Attribute Summary collapse

Instance Attribute Details

#base_urlObject

Returns the value of attribute base_url

Returns:

  • (Object)

    the current value of base_url



3
4
5
# File 'lib/agris/context.rb', line 3

def base_url
  @base_url
end

#databaseObject

Returns the value of attribute database

Returns:

  • (Object)

    the current value of database



3
4
5
# File 'lib/agris/context.rb', line 3

def database
  @database
end

#datapathObject

Returns the value of attribute datapath

Returns:

  • (Object)

    the current value of datapath



3
4
5
# File 'lib/agris/context.rb', line 3

def datapath
  @datapath
end

#default_datasetObject

Returns the value of attribute default_dataset

Returns:

  • (Object)

    the current value of default_dataset



3
4
5
# File 'lib/agris/context.rb', line 3

def default_dataset
  @default_dataset
end

#passwordObject

Returns the value of attribute password

Returns:

  • (Object)

    the current value of password



3
4
5
# File 'lib/agris/context.rb', line 3

def password
  @password
end

#useridObject

Returns the value of attribute userid

Returns:

  • (Object)

    the current value of userid



3
4
5
# File 'lib/agris/context.rb', line 3

def userid
  @userid
end