class Picturelife::Stub
Attributes
module_name[R]
Public Class Methods
new(module_name)
click to toggle source
# File lib/picturelife/stub.rb, line 11 def initialize(module_name) @module_name = module_name end
Public Instance Methods
method_missing(name, args = nil)
click to toggle source
# File lib/picturelife/stub.rb, line 15 def method_missing(name, args = nil) method = [module_name, name].join('/') Api.call(method, args) end