Module: XanoApiGem

Defined in:
lib/xano_api_gem.rb,
lib/xano_api_gem/version.rb

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



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

def api_key
  @api_key
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (XanoApiGem)

    the object that the method was called on



5
6
7
# File 'lib/xano_api_gem.rb', line 5

def configure
  yield self
end

.example_methodObject

Example method to perform a common task



13
14
15
# File 'lib/xano_api_gem.rb', line 13

def self.example_method
  puts "This is an example method."
end