Class: Boldsign::Resources::SenderIdentity

Inherits:
Boldsign::Resource show all
Defined in:
lib/boldsign/resources/sender_identity.rb

Overview

Sender-identity endpoints (‘/v1/senderIdentities/*`).

Instance Method Summary collapse

Methods inherited from Boldsign::Resource

#initialize

Constructor Details

This class inherits a constructor from Boldsign::Resource

Instance Method Details

#create(body) ⇒ Object



7
# File 'lib/boldsign/resources/sender_identity.rb', line 7

def create(body);    @client.post("/v1/senderIdentities/create", body: body); end

#delete(**params) ⇒ Object



9
# File 'lib/boldsign/resources/sender_identity.rb', line 9

def delete(**params);       @client.delete("/v1/senderIdentities/delete", params); end

#list(**params) ⇒ Object



5
# File 'lib/boldsign/resources/sender_identity.rb', line 5

def list(**params);  @client.get("/v1/senderIdentities/list", params); end

#properties(**params) ⇒ Object



6
# File 'lib/boldsign/resources/sender_identity.rb', line 6

def properties(**params); @client.get("/v1/senderIdentities/properties", params); end

#rerequest(body, **params) ⇒ Object



11
# File 'lib/boldsign/resources/sender_identity.rb', line 11

def rerequest(body, **params);   @client.post("/v1/senderIdentities/rerequest", body: body, params: params); end

#resend_invitation(**params) ⇒ Object



10
# File 'lib/boldsign/resources/sender_identity.rb', line 10

def resend_invitation(**params); @client.post("/v1/senderIdentities/resendInvitation", params: params); end

#update(body, **params) ⇒ Object



8
# File 'lib/boldsign/resources/sender_identity.rb', line 8

def update(body, **params); @client.post("/v1/senderIdentities/update", body: body, params: params); end