class Zendesk2::GetBrand
Public Instance Methods
brand_id()
click to toggle source
# File lib/zendesk2/get_brand.rb, line 8 def brand_id params.fetch('brand').fetch('id').to_i end
mock()
click to toggle source
# File lib/zendesk2/get_brand.rb, line 12 def mock mock_response('brand' => find!(:brands, brand_id)) end