module BinderSDK
Constants
- EmailShortcodes
- VERSION
Public Class Methods
config() { |config| ... }
click to toggle source
# File lib/binder_sdk.rb, line 13 def self.config @config ||= Configuration.new if block_given? yield @config else @config end end
mock!()
click to toggle source
# File lib/binder_sdk.rb, line 22 def self.mock! BinderSDK::Mocker.mock! end
Public Instance Methods
binder()
click to toggle source
# File lib/binder_sdk/resources/entry.rb, line 14 def binder @binder ||= Binder.find(resource_id) end
resource()
click to toggle source
# File lib/binder_sdk/resources/entry.rb, line 10 def resource @resource ||= Resource.find(resource_id) end
user()
click to toggle source
# File lib/binder_sdk/resources/entry.rb, line 6 def user @user ||= User.find(user_id) end