class Beaver::NotificationPreferencesRequest1
Attributes
callback_uri[RW]
TODO: Write general description for this method @return [String]
Public Class Methods
from_hash(hash)
click to toggle source
Creates an instance of the object from a hash.
# File lib/beaver/models/notification_preferences_request1.rb, line 25 def self.from_hash(hash) return nil unless hash # Extract variables from the hash. callback_uri = hash['callback_uri'] # Create object from extracted values. NotificationPreferencesRequest1.new(callback_uri) end
names()
click to toggle source
A mapping from model property names to API property names.
# File lib/beaver/models/notification_preferences_request1.rb, line 14 def self.names @_hash = {} if @_hash.nil? @_hash['callback_uri'] = 'callback_uri' @_hash end
new(callback_uri = nil)
click to toggle source
# File lib/beaver/models/notification_preferences_request1.rb, line 20 def initialize(callback_uri = nil) @callback_uri = callback_uri end