Class: A2WS::Base

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/a2ws/base.rb

Direct Known Subclasses

ImageSearch, ItemSearch

Class Method Summary collapse

Class Method Details

.api_key=(key) ⇒ Object



11
12
13
# File 'lib/a2ws/base.rb', line 11

def self.api_key=(key)
  default_params :AWSAccessKeyId => key
end

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

Yields:

  • (_self)

Yield Parameters:

  • _self (A2WS::Base)

    the object that the method was called on



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

def self.configure
  yield self
end