Method: App42::Gallery::AlbumService#initialize

Defined in:
lib/gallery/AlbumService.rb

#initialize(api_key, secret_key, base_url) ⇒ AlbumService

this is a constructor that takes

Parameters:

  • apiKey
  • secretKey
  • baseURL


34
35
36
37
38
39
40
41
# File 'lib/gallery/AlbumService.rb', line 34

def initialize(api_key, secret_key, base_url)
  puts "Photo Gallery->initialize"
  @api_key = api_key
  @secret_key = secret_key
  @base_url = base_url
  @resource = "gallery"
  @version = "1.0"
end