module Noteshred

Constants

VERSION

Public Class Methods

api_key() click to toggle source
# File lib/noteshred.rb, line 18
def self.api_key
  @api_key
end
api_key=(api_key) click to toggle source
# File lib/noteshred.rb, line 14
def self.api_key=(api_key)
  @api_key = api_key
end
bundle() click to toggle source
# File lib/noteshred.rb, line 30
def self.bundle
  Noteshred::API.get('/bundle')
end
endpoint() click to toggle source
# File lib/noteshred.rb, line 22
def self.endpoint
  "#{@protocol}://#{@hostname}/#{@api_ver}"
end
url(rel) click to toggle source
# File lib/noteshred.rb, line 26
def self.url(rel)
  Noteshred.endpoint + rel
end