class NationBuilder::RemoteController

Attributes

client[RW]

Public Class Methods

new(client) click to toggle source
# File lib/nation_builder/remote_controller.rb, line 5
def initialize(client)
  self.client = client
end

Public Instance Methods

base_path() click to toggle source
# File lib/nation_builder/remote_controller.rb, line 17
def base_path
  base_uri + controller_name
end
base_uri() click to toggle source
# File lib/nation_builder/remote_controller.rb, line 9
def base_uri
  '/api/v1/'
end
controller_name() click to toggle source
# File lib/nation_builder/remote_controller.rb, line 13
def controller_name
  raise 'implement me'
end