Class: SendGrid4r::REST::MarketingCampaigns::Sender

Inherits:
Struct
  • Object
show all
Defined in:
lib/sendgrid4r/rest/marketing_campaigns/senders.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#addressObject

Returns the value of attribute address



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def address
  @address
end

#address_2Object

Returns the value of attribute address_2



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def address_2
  @address_2
end

#cityObject

Returns the value of attribute city



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def city
  @city
end

#countryObject

Returns the value of attribute country



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def country
  @country
end

#created_atObject

Returns the value of attribute created_at



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def created_at
  @created_at
end

#fromObject

Returns the value of attribute from



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def from
  @from
end

#idObject

Returns the value of attribute id



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def id
  @id
end

#lockedObject

Returns the value of attribute locked



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def locked
  @locked
end

#nicknameObject

Returns the value of attribute nickname



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def nickname
  @nickname
end

#reply_toObject

Returns the value of attribute reply_to



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def reply_to
  @reply_to
end

#stateObject

Returns the value of attribute state



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def state
  @state
end

#updated_atObject

Returns the value of attribute updated_at



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def updated_at
  @updated_at
end

#verifiedObject

Returns the value of attribute verified



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def verified
  @verified
end

#zipObject

Returns the value of attribute zip



10
11
12
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 10

def zip
  @zip
end

Instance Method Details

#to_hObject



22
23
24
# File 'lib/sendgrid4r/rest/marketing_campaigns/senders.rb', line 22

def to_h
  super.reject { |_key, value| value.nil? }
end