class ZiggeoMetaProfiles
Public Class Methods
new(application)
click to toggle source
# File lib/classes/ZiggeoMetaProfiles.rb, line 3 def initialize(application) @application = application end
Public Instance Methods
create(data = nil)
click to toggle source
# File lib/classes/ZiggeoMetaProfiles.rb, line 7 def create(data = nil) return @application.connect.postJSON('/v1/metaprofiles/', data) end
delete(token_or_key)
click to toggle source
# File lib/classes/ZiggeoMetaProfiles.rb, line 19 def delete(token_or_key) return @application.connect.delete('/v1/metaprofiles/' + token_or_key + '') end
get(token_or_key)
click to toggle source
# File lib/classes/ZiggeoMetaProfiles.rb, line 15 def get(token_or_key) return @application.connect.getJSON('/v1/metaprofiles/' + token_or_key + '') end
index(data = nil)
click to toggle source
# File lib/classes/ZiggeoMetaProfiles.rb, line 11 def index(data = nil) return @application.connect.getJSON('/v1/metaprofiles/', data) end