Module: TRIPALERTZ

Defined in:
lib/tripalertz.rb,
lib/tripalertz/deal.rb

Defined Under Namespace

Classes: Deal

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.auth_keyObject

Returns the value of attribute auth_key.



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

def auth_key
  @auth_key
end

.auth_loginObject

Returns the value of attribute auth_login.



4
5
6
# File 'lib/tripalertz.rb', line 4

def 
  @auth_login
end

.open_timeoutObject

Returns the value of attribute open_timeout.



8
9
10
# File 'lib/tripalertz.rb', line 8

def open_timeout
  @open_timeout
end

.timeoutObject

Returns the value of attribute timeout.



7
8
9
# File 'lib/tripalertz.rb', line 7

def timeout
  @timeout
end

.urlObject

Returns the value of attribute url.



6
7
8
# File 'lib/tripalertz.rb', line 6

def url
  @url
end

Class Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (TRIPALERTZ)

    the object that the method was called on



10
11
12
# File 'lib/tripalertz.rb', line 10

def self.configure(&block)
  yield(self)
end